<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>jsc-input-date</title>
    <script type="text/javascript" src="js/app.js"></script>
    <script type="module" src="../src/js/form.js"></script>
    <script type="module" src="../src/js/inputDate.js"></script>
    <script type="module" src="../src/js/inputText.js"></script>
</head>

<body>
    <jsc-form class="form">
        <div style="height:1600px;"><jsc-input-date jscbind='birthday' max="2022/05/02" min="2022/01/01" value="2022/05/02"></jsc-input-date></div>
    </jsc-form>
</body>
<script defer="true" type="text/javascript">
    let person = { 'age': 13, 'isAdmin': true, name: 'Lora', birthday: '2022/02/02', skills: [{ name: 'shoot', power: 15 }, { name: 'jump', power: 64 }] };

    document.addEventListener('DOMContentLoaded', function (e) {
        let form = document.querySelector('jsc-form');
        form.bind = person;
    });
</script>

</html>